package com.fsy.entities;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
@HeadRowHeight(value = 35)  //表头行高
@ContentRowHeight(value = 25)   //内容行高
public class Member_excel {

    @ExcelProperty({"成员信息","身份"})
    private  String mt_name;
    @ExcelProperty({"成员信息","编号"})
    private Integer mid;
    @ExcelProperty({"成员信息","卡号"})
    private String cardno;
    @ExcelProperty({"成员信息","学历"})
    private String degree;
    @ExcelProperty({"成员信息","院系"})
    private String department;
    @ExcelProperty({"成员信息","姓名"})
    private String mname;
    @ExcelProperty({"成员信息","备注"})
    private String remark;
    @ExcelProperty({"成员信息","性别"})
    private String sex;
    @ExcelProperty({"成员信息","专业"})
    private String specialty;
    @ExcelProperty({"成员信息","状态"})
    private Integer status;



    private String statusName;

    public String getStatusName() {
        if(status == 0){
            return "离线";
        }else{
            return "已签到";
        }
    }

    @ExcelProperty({"成员信息","密码"})
    private String password;

}
